Skip to content

Conversation

@Gerrit91
Copy link
Contributor

Description

 panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6987b8]

goroutine 1 [running]:
log/slog.(*Logger).Handler(...)
	/opt/hostedtoolcache/go/1.25.1/x64/src/log/slog/logger.go:121
log/slog.(*Logger).Enabled(0x4a263a?, {0x1005798?, 0x16f2860?}, 0xc000111bc0?)
	/opt/hostedtoolcache/go/1.25.1/x64/src/log/slog/logger.go:168 +0x18
log/slog.(*Logger).log(0x0, {0x1005798?, 0x16f2860?}, 0x8, {0xebce27, 0x1d}, {0xc000111f20, 0x2, 0x2})
	/opt/hostedtoolcache/go/1.25.1/x64/src/log/slog/logger.go:244 +0x99
log/slog.(*Logger).Error(...)
	/opt/hostedtoolcache/go/1.25.1/x64/src/log/slog/logger.go:229
main.main()
	/home/runner/work/masterdata-api/masterdata-api/server/main.go:66 +0x93 
Recent samples Learn more 

@Gerrit91 Gerrit91 requested a review from a team as a code owner January 21, 2026 08:40
@metal-robot metal-robot bot added the area: control-plane Affects the metal-stack control-plane area. label Jan 21, 2026
@majst01 majst01 changed the title Fix global vraiable logger not initialized. Fix global variable logger not initialized. Jan 21, 2026
@majst01 majst01 merged commit d31512d into master Jan 21, 2026
1 check passed
@majst01 majst01 deleted the fix-nil-logger branch January 21, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: control-plane Affects the metal-stack control-plane area.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants